﻿using Comunication;

namespace ServerDomain.CommandFolder
{
    class ServerClientFileInfoResponse : Command
    {
        public ServerClientFileInfoResponse(bool exists)
        {
            Header = "RES";
            Cmd = Commands.UPLOAD_SERVER_CLIENT_FILE_INFORMATION_RESPONSE;
            Data = "EXISTS:";
            if (exists)
            {
                Data += "Y";
            }
            else
            {
                Data += "N";
            }
        }
    }
}
